package com.tianyi.primeval.registry;

import com.tianyi.primeval.registry.specialeffects.*;
import mods.flammpfeil.slashblade.registry.specialeffects.SpecialEffect;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.RegistryObject;

import static com.tianyi.primeval.Primeval.MODID;
//这里是SE注册表
public class PLSpecialEffectsRegistry {

    public static final DeferredRegister<SpecialEffect> REGISTRY_KEY2;//这玩意是最重要的
    public static final RegistryObject<SpecialEffect> PRIMEVALT;
    public static final RegistryObject<SpecialEffect> YINYANGJIAN;
    public static final RegistryObject<SpecialEffect> PRIMEVALTY;
    public static final RegistryObject<SpecialEffect> SHENFENG;
    public static final RegistryObject<SpecialEffect> YINGHUA;
    public static final RegistryObject<SpecialEffect> YINGYU;
    public static final RegistryObject<SpecialEffect> XINGHUN;

    public PLSpecialEffectsRegistry() {
    }

    static {
        REGISTRY_KEY2 = DeferredRegister.create(SpecialEffect.REGISTRY_KEY, MODID);
        PRIMEVALT= REGISTRY_KEY2.register("primevalt", Primevalt::new);//后面的不要和name一样
        YINYANGJIAN= REGISTRY_KEY2.register("yinyangjian", Yinyangjian::new);
        PRIMEVALTY= REGISTRY_KEY2.register("promevalty", Primevalty::new);
        SHENFENG= REGISTRY_KEY2.register("shenfeng", Shenfeng::new);
        YINGHUA= REGISTRY_KEY2.register("yinghua", Shenfeng::new);
        YINGYU= REGISTRY_KEY2.register("yinyu", Shenfeng::new);
        XINGHUN= REGISTRY_KEY2.register("xinghun", Shenfeng::new);
    }
}
